home *** CD-ROM | disk | FTP | other *** search
/ Champak 49 / Volume 49 - JOGO DISK .iso / Games / freezelifter.swf / scripts / DefineSprite_62 / frame_1 / DoAction.as
Encoding:
Text File  |  2007-10-01  |  191 b   |  8 lines

  1. f_bonus = int(_root.chopper_fuel) * 5;
  2. t_bonus = int((50000 - int(_root.time_taken)) / 10);
  3. h_bonus = _root.num_of_lives * 500 * (_root.level - 1);
  4. if(t_bonus < 0)
  5. {
  6.    t_bonus = 0;
  7. }
  8.